package com.mickey.service;

import com.mickey.domain.MiaoshaUser;
import com.mickey.result.CodeMsg;
import com.mickey.vo.LoginVO;

import javax.servlet.http.HttpServletResponse;

public interface MiaoshaUserService {

    CodeMsg login(LoginVO loginVO,HttpServletResponse response);

    MiaoshaUser getById(long id);

    MiaoshaUser getByToken(String cookieToken,HttpServletResponse response);
}
